import {
  downloadGet,
  downloadPost,
  exportExcelGet,
  exportExcelPost
} from '@/utils/download';


// 下载文件
export function downloadFile2Get(that_, url, params) {
  return downloadGet(that_, url, params)
}

// 下载文件
export function downloadFile2Post(that_, url, data) {
  return downloadPost(that_, url, data)
}

// 导出全部数据
export function exportExcel2Get(that_, url, params) {
  return exportExcelGet(that_, url, params)
}

// 导出当前数据
export function exportExcel2Post(that_, url, data) {
  return exportExcelPost(that_, url, data)
}
